/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

export default {
  path: '/statistics',
  component: Layout,
  name: 'statistics',
  meta: {
    title: '数据统计',
    icon: 'el-icon-s-data'
  },
  children: [
    {
      path: 'business',
      component: () => import('@/views/statistics/business'),
      name: 'business',
      meta: { title: '业务统计', noCache: true, icon: 'list' }
    },
    {
      path: 'purchase',
      component: () => import('@/views/statistics/purchase'),
      name: 'purchase',
      meta: { title: '采购统计', noCache: true, icon: 'list' }
    },
    {
      path: 'finance',
      component: () => import('@/views/statistics/finance'),
      name: 'finance',
      meta: { title: '财务统计', noCache: true, icon: 'list' }
    },
    {
      path: 'administration',
      component: () => import('@/views/statistics/administration'),
      name: 'administration',
      meta: { title: '行政统计', noCache: true, icon: 'list' }
    }
  ]
}
